package com.xgg.taiwuinfo.gongfa.shaolin.zhifa;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cast;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Body;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Damage;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Hit;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Cuipo_Zhifa;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class NianHuaZhiGong extends Gongfa_Cuipo_Zhifa {

    public NianHuaZhiGong()
    {
        super("拈花指功" , 7 , Element.ELEMENT_NONE , Inherit.INHERIT_SHAOLIN);
        mGridOccupy = 1;
        //式
        Shi = new int[] { 0 , 1 , 1};/*崩点拿*/
        //施法时间及气势
        ability_cast = new Ability_Cast(16 , 0, 100);
        //命中分布
        ability_cuipo_hit = new Ability_Cuipo_Hit(new int[] {2,6,2}, new int[] { 80, 192, 64});
        //攻击部位
        ability_cuipo_body = new Ability_Cuipo_Body(new int[]{
                /*胸腰头*/         20, 20, 1,
                /*四肢*/           25, 25, 15, 15,
                /*心神，毒，全身*/ 0,  0,  0
        });
        ability_cuipo_damage = new Ability_Cuipo_Damage(15.2,0,152,1.0 , 8 , 0);
        PushYunGongObject(Gongfa.ABL_INDEX_Jingmiao ,120 );
        InitYunGongAbility();

        mGongfaRequired[Requirement.GF_ZF] = 190;
        mAttrRequired[Requirement.ATTR_WX] = 75;
        mAttrRequired[Requirement.ATTR_DL] = 120;
        mJiyiRequired[Requirement.JY_FX] = 190;

        PosfullReading = new Reading_Text(R.string.reading_nianhuazhigong_pos);
        NegfullReading = new Reading_Text(R.string.reading_nianhuazhigong_neg);
    }
}
